<html layout:decorate="~{project/accountManage/arithmetic_list}" xmlns:layout="http://www.w3.org/1999/xhtml">
<div layout:fragment="arithmetic_list">
    <style>
        .ztree li {
            line-height: 36px;
        }
        .ztree li a{
            height: 30px !important;
        }
        td {
            height: 30px;
        }
    </style>
    <!--<div class="search_condition">-->
    <!--<form id="search-form">-->
    <!--<input class="search-data" name="Q_LIKE_name" type="text" placeholder="角色名称" >-->
    <!--<select class="search-data" name="Q_EQ_type.id">-->
    <!--<option value="">选择身份</option>-->
    <!--<option th:each="parameter:${parameters}" th:value="${parameter.id}" th:text="${parameter.name}"></option>-->
    <!--</select>-->
    <!--<button type="button" id="search-btn" class="btn btn-primary btn-search" >搜索</button>-->
    <!--</form>-->
    <!--</div>-->

    <div class="main-body">

        <div id="toolbar" class="btn-group btn-group-sm " >

            <a type="button" class="btn btn-primary" data-toggle="modal"
               href="/project/accountManage/deploy_edit" data-target="#modal1">修改</a>

        </div>

        <table id="dataTable" data-url="/project/accountManage/deploy_data" data-page-list=[]  data-striped="true"
               data-pagination="true" data-page-size="15" data-cache="false" data-toolbar-align="right">

        </table>
<script>
    //设备状态
    var dataFormat_deploy = [{
        checkbox: true
    },{
        field:'id',
        title:'id',
        visible:false
    },{
        field: 'number',
        title: '编号',
        sortable:true
    },{
        field: 'name',
        title: '名称',
        sortable:true
    },{
        field: 'time',
        title: '上一次部署时间',
        sortable:true
    }, {
        field: 'algorithm',
        title: '部署诊断算法',
        sortable:true
    }];

    window.onload = function () {
        getTable(dataFormat_deploy, "dataTable");
    };
</script>
    </div>
</div>
</html>